<template>
    <view style="height: 100%">
        <button
            @tap="__e"
            :class="['i-button', classList]"
            :data-event-opts="[['tap', [['handleClick', ['$event']]]]]"
            :hoverClass="disabled ? 'none' : 'hover'"
            :openType="openType"
        >
            <slot></slot>
        </button>
    </view>
</template>

<script>
import tabBar from '@/components/TabBar/tabBar';
(global.webpackJsonp = global.webpackJsonp || []).push([
    ['components/Button/index'],
    {
        '09b1': function (n, t, e) {
            'use strict';

            var o = e('ec8c');
            e.n(o).a;
        },
        '611d': function (n, t, e) {
            'use strict';

            e.d(t, 'b', function () {
                return o;
            });
            e.d(t, 'c', function () {
                return i;
            });
            e.d(t, 'a', function () {});
            var o = function () {
                this.$createElement;
                this._self._c;
            };
            var i = [];
        },
        '8c39': function (n, t, e) {
            'use strict';

            Object.defineProperty(t, '__esModule', {
                value: true
            });
            t.default = void 0;
            var o = {
                name: 'IButton',
                props: {
                    iClass: {
                        type: String
                    },
                    long: {
                        type: Boolean
                    },
                    radius: {
                        type: Boolean
                    },
                    round: {
                        type: Boolean
                    },
                    size: {
                        type: String,
                        default: 'medium'
                    },
                    disabled: {
                        type: Boolean,
                        default: false
                    },
                    openType: {
                        type: String,
                        default: ''
                    }
                },
                computed: {
                    classList: function () {
                        return [this.iClass, this.long ? 'long' : '', this.size, this.radius ? 'radius' : '', this.round ? 'round' : ''];
                    }
                },
                methods: {
                    handleClick: function () {
                        this.disabled || this.$emit('click', {});
                    }
                }
            };
            t.default = o;
        },
        '93c4': function (n, t, e) {
            'use strict';

            e.r(t);
            var o = e('611d');
            var i = e('e324');
            for (var c in i) {
                if (['default'].indexOf(c) < 0) {
                    (function (n) {
                        e.d(t, n, function () {
                            return i[n];
                        });
                    })(c);
                }
            }
            e('09b1');
            var u = e('f0c5');
            var a = Object(u.a)(i.default, o.b, o.c, false, null, null, null, false, o.a, void 0);
            t.default = a.exports;
        },
        e324: function (n, t, e) {
            'use strict';

            e.r(t);
            var o = e('8c39');
            var i = e.n(o);
            for (var c in o) {
                if (['default'].indexOf(c) < 0) {
                    (function (n) {
                        e.d(t, n, function () {
                            return o[n];
                        });
                    })(c);
                }
            }
            t.default = i.a;
        },
        ec8c: function (n, t, e) {}
    }
]);
(global.webpackJsonp = global.webpackJsonp || []).push([
    'components/Button/index-create-component',
    {
        'components/Button/index-create-component': function (n, t, e) {
            e('543d').createComponent(e('93c4'));
        }
    },
    [['components/Button/index-create-component']]
]);
</script>
<style>
@import './index.css';
</style>
